package com.qm.console.dao.model;

import java.util.Date;

public class BxDictDO {
    private Integer id;

    private String mongoField;

    private String parentField;

    private String desc;

    private Date createTime;

    private Date updateTime;

    private Integer state;

    private String pythonType;

    private String mysqlType;

    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMongoField() {
        return mongoField;
    }

    public void setMongoField(String mongoField) {
        this.mongoField = mongoField == null ? null : mongoField.trim();
    }

    public String getParentField() {
        return parentField;
    }

    public void setParentField(String parentField) {
        this.parentField = parentField == null ? null : parentField.trim();
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPythonType() {
        return pythonType;
    }

    public void setPythonType(String pythonType) {
        this.pythonType = pythonType == null ? null : pythonType.trim();
    }

    public String getMysqlType() {
        return mysqlType;
    }

    public void setMysqlType(String mysqlType) {
        this.mysqlType = mysqlType == null ? null : mysqlType.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mongoField=").append(mongoField);
        sb.append(", parentField=").append(parentField);
        sb.append(", desc=").append(desc);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", state=").append(state);
        sb.append(", pythonType=").append(pythonType);
        sb.append(", mysqlType=").append(mysqlType);
        sb.append(", type=").append(type);
        sb.append("]");
        return sb.toString();
    }
}